class Student {
  static Student? student;

  static instance() {
    student ??= Student();
    return student;
  }

  Student() {
    print('Student的构造函数');
  }
}

void main() {
  Student.instance();
  Student.instance();
}
